package com.home.oss.controller;

import com.home.base.core.framework.msg.ServerResponse;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Description:
 * Created by 王大宸 on 2020-10-16 9:00
 * Created with IntelliJ IDEA.
 */
@Controller
public class HeartbeatController {

    @RequestMapping(value = "/heartbeat")
    @ResponseBody
    public ServerResponse<String> heartbeat() {
        return ServerResponse.okData("服务正常!!!");
    }

}
